 /*! JointJS v2.0.1 (2017-11-15) - JavaScript diagramming library


This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
joint.dia.Element.define('org.GateWay', {
    size: { width: 60, height: 60 },
    attrs: {
        rect: { width: 60, height: 60},

        '.card': {
            fill: '#FFFFFF',stroke: '#000000', 'stroke-width': 1,
            'pointer-events': 'visiblePainted', rx: 5, ry: 5
        },

        '.name': {
            'font-weight': '800',
            ref: '.card', 'ref-x': 0.5, 'ref-y': 0.4,
            'font-family': 'Courier New', 'font-size': 14,
            'text-anchor': 'middle', 'dominant-baseline': 'middle'
        },
		'.node-tools': {
			ref: '.card', 'ref-x': 0.8, 'ref-y': 10
		}
    }
}, {
    markup: '<g class="rotatable"><g class="scalable"><rect magnet="true"  class="card" transform="rotate(45)"/></g><text class="name"/><text class="name_line2"/></g><g class="node-tools tool-remove" event="remove" ><circle r="11"></circle><path transform="scale(.8) translate(-16, -16)" d="M24.778,21.419 19.276,15.917 24.777,10.415 21.949,7.585 16.447,13.087 10.945,7.585 8.117,10.415 13.618,15.917 8.116,21.419 10.946,24.248 16.447,18.746 21.948,24.248z"></path><title>删除节点</title></g>',
});

